import java.awt.*;
import java.awt.event.*;

public class FlowLayoutEx extends Frame
{
    Button bok1 = new Button("按键");
    Button bok2 = new Button("OK");

    FlowLayoutEx()
    {
        this.setTitle(" FlowLayoutEx ");
        this.setLayout(new FlowLayout());
        
        this.add(bok1);
        this.add(bok2);
        this.setBackground(Color.red);
         this.setResizable(false);
        this.setAlwaysOnTop(true);
        this.setBounds(100,100,250,250);
        this.setVisible(true);
        }
    public static void main(String[] args)
    {
         //System.out.println("Hello World!");
        new  FlowLayoutEx();       
    }
}
